package com.hnyyjsxy.domain;

import java.util.Date;

/**
 * 外访人员表
 * @date 2021/01/30
 */
public class Stranger {
    private String id_number;//身份证号
    private String sname;//姓名
    private String building;//访问楼栋号
    private String room;//访问房间号
    private String cause;//访问原因
    private String sdate;//访问日期

    public Stranger() {
    }

    public Stranger(String id_number, String sname, String building, String room, String cause, String sdate) {
        this.id_number = id_number;
        this.sname = sname;
        this.building = building;
        this.room = room;
        this.cause = cause;
        this.sdate = sdate;
    }

    public String getId_number() {
        return id_number;
    }

    public void setId_number(String id_number) {
        this.id_number = id_number;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getBuilding() {
        return building;
    }

    public void setBuilding(String building) {
        this.building = building;
    }

    public String getRoom() {
        return room;
    }

    public void setRoom(String room) {
        this.room = room;
    }

    public String getCause() {
        return cause;
    }

    public void setCause(String cause) {
        this.cause = cause;
    }

    public String getSdate() {
        return sdate;
    }

    public void setSdate(String sdate) {
        this.sdate = sdate;
    }

    @Override
    public String toString() {
        return "Stranger{" +
                "id_number='" + id_number + '\'' +
                ", sname='" + sname + '\'' +
                ", building='" + building + '\'' +
                ", room='" + room + '\'' +
                ", cause='" + cause + '\'' +
                ", sdate=" + sdate +
                '}';
    }
}
